iconview: Prevent ownership transfer of cell out-param in get_item_at_pos()
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 6 Jan 2018 08:27:44 +0000 (09:27 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 6 Jan 2018 08:27:44 +0000 (09:27 +0100)
gtk/gtkiconview.c

index a91d4e65cb7e754a556811a1d503394e8268b32a..9a5ee708fa0cdf8c30b87a4393539cfc9c2695c0 100644 (file)
@@ -4236,7 +4236,7 @@ gtk_icon_view_get_path_at_pos (GtkIconView *icon_view,
  * @x: The x position to be identified
  * @y: The y position to be identified
  * @path: (out) (allow-none): Return location for the path, or %NULL
- * @cell: (out) (allow-none): Return location for the renderer
+ * @cell: (out) (allow-none) (transfer none): Return location for the renderer
  *   responsible for the cell at (@x, @y), or %NULL
  * 
  * Returns: %TRUE if an item exists at the specified position